import request from '@/utils/request'

export function getOrderByRolePage(currentPage,pageSize) {
  return request({
    url: '/order/getOrderByRolePage',
    method: 'get',
    params: { currentPage,pageSize }
  })
}

export function deleteOrder(id) {
  return request({
    url: '/order/deleteOrder',
    method: 'get',
    params: { id }
  })
}

export function editOrderStep(oid,step) {
  return request({
    url: '/order/editOrderStep',
    method: 'get',
    params: { oid,step }
  })
}
